#include "statusbase.h"
#include "datatypedefine.h"

namespace VrDataCore
{
	StatusBase::StatusBase()
	{
		_isDefaultStatus = false;
		_defaultEffectVec.push_back(CLASS_EFFECT_TRANSLATION);
		_defaultEffectVec.push_back(CLASS_EFFECT_ROTATION);
		setClassName("StatusBase");
	}

	StatusBase::~StatusBase()
	{}

	void StatusBase::buildPropertyMap()
	{}

	osg::ref_ptr<CoreBase::ActorBase> StatusBase::clone()
	{
		return NoTransformActor::clone();
	}

	void StatusBase::setEffectEnable(bool enable)
	{
		_isEnable = enable;
	}

	bool StatusBase::getEffectEnable()
	{
		return _isEnable;
	}

	void StatusBase::setStatusDefault()
	{
		_isDefaultStatus = true;
	}

	bool StatusBase::getStatusDefault() const
	{
		return _isDefaultStatus;
	}

	void StatusBase::removeAllEffectActors()
	{}
}